using System;
using System.Reflection;

namespace WinForm.Common {
    public class ElementConstStringLoader {
        public static void LoadConstStringsForCustomerRevenueStatistics(object element)
        {
            SetPropertyPathValue(element, "fieldCustomer.Caption", ResourcesHelper.GetString("Customer"));
            SetPropertyPathValue(element, "fieldRevenue.Caption", ResourcesHelper.GetString("Revenue"));
            SetPropertyPathValue(element, "fieldMonth.Caption", ResourcesHelper.GetString("Month"));
        }
        public static void LoadConstStringsForTopCustomersStatistics(object element)
        {
            SetPropertyPathValue(element, "fieldCustomer.Caption", ResourcesHelper.GetString("Customer"));
            SetPropertyPathValue(element, "fieldRevenue.Caption", ResourcesHelper.GetString("Income"));
            SetPropertyPathValue(element, "layoutControlItem3.Text", ResourcesHelper.GetString("Period") + ":");
            SetPropertyPathValue(element, "layoutControlItem4.Text", ResourcesHelper.GetString("CustomerCount") + ":");
        }
        public static void LoadConstStringsForRevenueSplitStatistics(object element)
        {
            SetPropertyPathValue(element, "fieldMonth.Caption", ResourcesHelper.GetString("Month"));
            SetPropertyPathValue(element, "fieldRevenue.Caption", ResourcesHelper.GetString("Revenue"));
            SetPropertyPathValue(element, "fieldReceiptType.Caption", ResourcesHelper.GetString("ReceiptType"));
        }
        public static void LoadConstStringsForNetIncomeStatistics(object element)
        {
            SetPropertyPathValue(element, "fieldMonth.Caption", ResourcesHelper.GetString("Month"));
            SetPropertyPathValue(element, "fieldPeriod.Caption", ResourcesHelper.GetString("Period"));
        }
        public static void LoadConstStringsForCustomerByDatesKPI(object element)
        {
            SetPropertyPathValue(element, "fieldPayment.Caption", ResourcesHelper.GetString("Payment"));
            SetPropertyPathValue(element, "fieldCustomer.Caption", ResourcesHelper.GetString("Customer"));
            SetPropertyPathValue(element, "Year.Caption", ResourcesHelper.GetString("Year"));
            SetPropertyPathValue(element, "Quarter.Caption", ResourcesHelper.GetString("Quarter"));
            SetPropertyPathValue(element, "layoutControlItem1.Text", ResourcesHelper.GetString("SortBy"));
        }
        public static void LoadConstStringsForCustomerKPI(object element)
        {
            SetPropertyPathValue(element, "fieldPayment.Caption", ResourcesHelper.GetString("Payment"));
            SetPropertyPathValue(element, "fieldCustomer.Caption", ResourcesHelper.GetString("Customer"));
            SetPropertyPathValue(element, "Year.Caption", ResourcesHelper.GetString("Year"));
            SetPropertyPathValue(element, "Quarter.Caption", ResourcesHelper.GetString("Quarter"));
        }
        public static void LoadConstStringsForMoviesKPI(object element)
        {
            SetPropertyPathValue(element, "fieldPayment.Caption", ResourcesHelper.GetString("Payment"));
            SetPropertyPathValue(element, "fieldMovie.Caption", ResourcesHelper.GetString("Movie"));
            SetPropertyPathValue(element, "Year.Caption", ResourcesHelper.GetString("Year"));
            SetPropertyPathValue(element, "Quarter.Caption", ResourcesHelper.GetString("Quarter"));
        }
        public static void LoadConstStringsForFrmAddBase(object element)
        {
            SetPropertyPathValue(element, "sbSave.Text", ResourcesHelper.GetString("ButtonTextAdd"));
            SetPropertyPathValue(element, "sbCancel.Text", ResourcesHelper.GetString("ButtonTextCancel"));
        }
        public static void LoadConstStringsForFrmDetailBase(object element)
        {
            SetPropertyPathValue(element, "sbOK.Text", ResourcesHelper.GetString("ButtonTextOK"));
            SetPropertyPathValue(element, "sbCancel.Text", ResourcesHelper.GetString("ButtonTextCancel"));
        }
        public static void LoadConstStringsForFrmGridOptionsBase(object element)
        {
            SetPropertyPathValue(element, "sbSave.Text", ResourcesHelper.GetString("ButtonTextOK"));
            SetPropertyPathValue(element, "sbCancel.Text", ResourcesHelper.GetString("ButtonTextCancel"));
        }
        public static void LoadConstStringsForFrmMainBase(object element)
        {
            SetPropertyPathValue(element, "bbiAbout.Caption", ResourcesHelper.GetString("About"));
            SetPropertyPathValue(element, "bbiAbout.Hint", ResourcesHelper.GetString("AboutThisApplication"));
        }
        public static void LoadConstStringsForAbout(object element)
        {
            SetPropertyPathValue(element, "lcAbout1.Text", ResourcesHelper.GetString("WelcomeText1"));
            SetPropertyPathValue(element, "lcAbout2.Text", ResourcesHelper.GetString("WelcomeText2"));
            SetPropertyPathValue(element, "lcLink1.Text", ResourcesHelper.GetString("WelcomeLink1"));
            SetPropertyPathValue(element, "lcLink1.LinkText", ResourcesHelper.GetString("DXLink"));
            SetPropertyPathValue(element, "lcLink2.Text", ResourcesHelper.GetString("WelcomeLink2"));
            SetPropertyPathValue(element, "lcLink2.LinkText", ResourcesHelper.GetString("TrialsLink"));
            SetPropertyPathValue(element, "lcLink3.Text", ResourcesHelper.GetString("WelcomeLink3"));
            SetPropertyPathValue(element, "lcLink3.LinkText", ResourcesHelper.GetString("PurchaseLink"));
            SetPropertyPathValue(element, "lcControlsText.Text", ResourcesHelper.GetString("WelcomeText3"));
            SetPropertyPathValue(element, "lcHint.Text", ResourcesHelper.GetString("WelcomeText4"));
        }
        public static void LoadConstStringsForArtists(object element)
        {
            SetPropertyPathValue(element, "cardView1.CardCaptionFormat", ResourcesHelper.GetString("PhotoNumber"));
            SetPropertyPathValue(element, "colPicture.Caption", ResourcesHelper.GetString("Image"));
            SetPropertyPathValue(element, "colGender.Caption", ResourcesHelper.GetString("Gender"));
            SetPropertyPathValue(element, "colBirthCountry.Caption", ResourcesHelper.GetString("BirthCountry"));
            SetPropertyPathValue(element, "colBirthLocation.Caption", ResourcesHelper.GetString("BirthLocation"));
            SetPropertyPathValue(element, "colFirstName.Caption", ResourcesHelper.GetString("FirstName"));
            SetPropertyPathValue(element, "colLastName.Caption", ResourcesHelper.GetString("LastName"));
            SetPropertyPathValue(element, "colBirthName.Caption", ResourcesHelper.GetString("BirthName"));
            SetPropertyPathValue(element, "colBirthDate.Caption", ResourcesHelper.GetString("BirthDate"));
            SetPropertyPathValue(element, "colBiography.Caption", ResourcesHelper.GetString("Biography"));
            SetPropertyPathValue(element, "colNickName.Caption", ResourcesHelper.GetString("NickName"));
            SetPropertyPathValue(element, "colLink.Caption", ResourcesHelper.GetString("Link"));
        }
        public static void LoadConstStringsForCategories(object element)
        {
            SetPropertyPathValue(element, "colName.Caption", ResourcesHelper.GetString("Name"));
            SetPropertyPathValue(element, "colIsDefault.Caption", ResourcesHelper.GetString("Default"));
        }
        public static void LoadConstStringsForCompanies(object element)
        {
            SetPropertyPathValue(element, "layoutView1.CardCaptionFormat", ResourcesHelper.GetString("MovieOf"));
            SetPropertyPathValue(element, "colDescription.Caption", ResourcesHelper.GetString("Description"));
            SetPropertyPathValue(element, "colName.Caption", ResourcesHelper.GetString("Name"));
            SetPropertyPathValue(element, "colType.Caption", ResourcesHelper.GetString("Type"));
            SetPropertyPathValue(element, "colWebSite.Caption", ResourcesHelper.GetString("WebSite"));
            SetPropertyPathValue(element, "colCountry.Caption", ResourcesHelper.GetString("Country"));
            SetPropertyPathValue(element, "colFlag.Caption", ResourcesHelper.GetString("Flag"));
        }
        public static void LoadConstStringsForCustomers(object element)
        {
            SetPropertyPathValue(element, "colPhoto.Caption", ResourcesHelper.GetString("Photo"));
            SetPropertyPathValue(element, "colCustomerId.Caption", ResourcesHelper.GetString("CardNumber"));
            SetPropertyPathValue(element, "colName1.Caption", ResourcesHelper.GetString("Name"));
            SetPropertyPathValue(element, "colBirthDate.Caption", ResourcesHelper.GetString("BirthDate"));
            SetPropertyPathValue(element, "colPhone.Caption", ResourcesHelper.GetString("Phone"));
            SetPropertyPathValue(element, "colEmail.Caption", ResourcesHelper.GetString("Email"));
            SetPropertyPathValue(element, "colGender.Caption", ResourcesHelper.GetString("Gender"));
            SetPropertyPathValue(element, "colAddress.Caption", ResourcesHelper.GetString("Address"));
            SetPropertyPathValue(element, "colComments.Caption", ResourcesHelper.GetString("Comments"));
            SetPropertyPathValue(element, "colLevel.Caption", ResourcesHelper.GetString("DiscountLevel"));
            SetPropertyPathValue(element, "colDiscount.Caption", ResourcesHelper.GetString("Discount"));
            SetPropertyPathValue(element, "colName.Caption", ResourcesHelper.GetString("Name"));
            SetPropertyPathValue(element, "colGender2.Caption", ResourcesHelper.GetString("Gender"));
            SetPropertyPathValue(element, "colBirthDate2.Caption", ResourcesHelper.GetString("BirthDate"));
            SetPropertyPathValue(element, "colCardNumber.Caption", ResourcesHelper.GetString("CardNumber"));
            SetPropertyPathValue(element, "colAddress2.Caption", ResourcesHelper.GetString("Address"));
            SetPropertyPathValue(element, "colPhone2.Caption", ResourcesHelper.GetString("Phone"));
            SetPropertyPathValue(element, "gridColumn10.Caption", ResourcesHelper.GetString("Comments"));
            SetPropertyPathValue(element, "colPhoto2.Caption", ResourcesHelper.GetString("Photo"));
        }
        public static void LoadConstStringsForEmployee(object element)
        {
            SetPropertyPathValue(element, "simpleButton1.Text", ResourcesHelper.GetString("Save"));
        }
        public static void LoadConstStringsForMovies(object element)
        {
            SetPropertyPathValue(element, "colPicturesCount.Caption", ResourcesHelper.GetString("PicturesCount"));
            SetPropertyPathValue(element, "colPhoto.Caption", ResourcesHelper.GetString("Photo"));
            SetPropertyPathValue(element, "colTitle.Caption", ResourcesHelper.GetString("Title"));
            SetPropertyPathValue(element, "colReleaseDate.Caption", ResourcesHelper.GetString("ReleaseDate"));
            SetPropertyPathValue(element, "colPlot.Caption", ResourcesHelper.GetString("Plot"));
            SetPropertyPathValue(element, "colTagline.Caption", ResourcesHelper.GetString("Tagline"));
            SetPropertyPathValue(element, "colAwards.Caption", ResourcesHelper.GetString("Awards"));
            SetPropertyPathValue(element, "colGenre.Caption", ResourcesHelper.GetString("Genre"));
            SetPropertyPathValue(element, "colWebSite.Caption", ResourcesHelper.GetString("WebSite"));
            SetPropertyPathValue(element, "colDirectors.Caption", ResourcesHelper.GetString("Directors"));
            SetPropertyPathValue(element, "colRunTime.Caption", ResourcesHelper.GetString("RunTime"));
            SetPropertyPathValue(element, "colAspectRatio.Caption", ResourcesHelper.GetString("AspectRatio"));
            SetPropertyPathValue(element, "colLanguage.Caption", ResourcesHelper.GetString("Language"));
            SetPropertyPathValue(element, "colRating.Caption", ResourcesHelper.GetString("Rating"));
            SetPropertyPathValue(element, "colColor.Caption", ResourcesHelper.GetString("Color"));
            SetPropertyPathValue(element, "colInfo.Caption", ResourcesHelper.GetString("Info"));
            SetPropertyPathValue(element, "layoutView1.CardCaptionFormat", ResourcesHelper.GetString("MovieOf"));
            SetPropertyPathValue(element, "colTitle1.Caption", ResourcesHelper.GetString("Title"));
            SetPropertyPathValue(element, "colReleaseDate1.Caption", ResourcesHelper.GetString("ReleaseDate"));
            SetPropertyPathValue(element, "colPlot1.Caption", ResourcesHelper.GetString("Plot"));
            SetPropertyPathValue(element, "dpScreens.Text", ResourcesHelper.GetString("Screens"));
        }
        public static void LoadConstStringsForRent(object element)
        {
            SetPropertyPathValue(element, "colActive.Caption", ResourcesHelper.GetString("Active"));
            SetPropertyPathValue(element, "colRentId.Caption", ResourcesHelper.GetString("RentalIdHtml"));
            SetPropertyPathValue(element, "colReturnedOn.Caption", ResourcesHelper.GetString("ReturnedOn"));
            SetPropertyPathValue(element, "colDays.Caption", ResourcesHelper.GetString("Days"));
            SetPropertyPathValue(element, "colMovieInfo.Caption", ResourcesHelper.GetString("Movie"));
            SetPropertyPathValue(element, "colPaymentRent.Caption", ResourcesHelper.GetString("Payment"));
            SetPropertyPathValue(element, "colOverdueRentId.Caption", ResourcesHelper.GetString("RentalIdHtml"));
            SetPropertyPathValue(element, "colMovieInfoOverdue.Caption", ResourcesHelper.GetString("Movie"));
            SetPropertyPathValue(element, "colOverdue.Caption", ResourcesHelper.GetString("DaysOverdue"));
            SetPropertyPathValue(element, "colOverduePayment.Caption", ResourcesHelper.GetString("PaymentDueHtml"));
            SetPropertyPathValue(element, "colSaleId.Caption", ResourcesHelper.GetString("PurchaseIdHtml"));
            SetPropertyPathValue(element, "colMovieInfoSale.Caption", ResourcesHelper.GetString("Movie"));
            SetPropertyPathValue(element, "colPaymentSale.Caption", ResourcesHelper.GetString("Payment"));
            SetPropertyPathValue(element, "gvReceipts.ViewCaption", ResourcesHelper.GetString("ReceiptsPeriod"));
            SetPropertyPathValue(element, "colDate.Caption", ResourcesHelper.GetString("Date"));
            SetPropertyPathValue(element, "colPayment.Caption", ResourcesHelper.GetString("Payment"));
            SetPropertyPathValue(element, "colReceiptId.Caption", ResourcesHelper.GetString("ReceiptId"));
            SetPropertyPathValue(element, "colType.Caption", ResourcesHelper.GetString("Type"));
            SetPropertyPathValue(element, "colDiscount.Caption", ResourcesHelper.GetString("Discount"));
            SetPropertyPathValue(element, "colOverdueActive.Caption", ResourcesHelper.GetString("DaysOverdueHtml"));
            SetPropertyPathValue(element, "colRentIdActive.Caption", ResourcesHelper.GetString("RentalIdHtml"));
            SetPropertyPathValue(element, "colDaysActive.Caption", ResourcesHelper.GetString("Days"));
            SetPropertyPathValue(element, "colActiveRent.Caption", ResourcesHelper.GetString("Active"));
            SetPropertyPathValue(element, "colRentedOn.Caption", ResourcesHelper.GetString("RentedOn"));
            SetPropertyPathValue(element, "colPaymentActive.Caption", ResourcesHelper.GetString("Payment"));
            SetPropertyPathValue(element, "colMovieTitleActive.Caption", ResourcesHelper.GetString("MovieTitle"));
            SetPropertyPathValue(element, "colActiveType.Caption", ResourcesHelper.GetString("ActiveType"));
            SetPropertyPathValue(element, "colReturn.Caption", ResourcesHelper.GetString("Return"));
            SetPropertyPathValue(element, "colItemFormat.Caption", ResourcesHelper.GetString("Format"));
            SetPropertyPathValue(element, "lciCustomerInfo.CustomizationFormText", ResourcesHelper.GetString("CurrentCustomer"));
            SetPropertyPathValue(element, "lciCustomerInfo.Text", ResourcesHelper.GetString("CurrentCustomer") + ":");
            SetPropertyPathValue(element, "lcgReceipts.CustomizationFormText", ResourcesHelper.GetString("Receipts"));
            SetPropertyPathValue(element, "lcgReceipts.Text", ResourcesHelper.GetString("Receipts"));
            SetPropertyPathValue(element, "lcgActiveRents.CustomizationFormText", ResourcesHelper.GetString("ActiveRentals"));
            SetPropertyPathValue(element, "lcgActiveRents.Text", ResourcesHelper.GetString("ActiveRentals"));
        }
        public static void LoadConstStringsForDetailBase(object element)
        {
        }
        public static void LoadConstStringsForArtistDetail(object element)
        {
            SetPropertyPathValue(element, "lcgAdditionalDetail.CustomizationFormText", ResourcesHelper.GetString("AdditionalDetails"));
            SetPropertyPathValue(element, "lcgAdditionalDetail.Text", ResourcesHelper.GetString("AdditionalDetails"));
            SetPropertyPathValue(element, "lcgArtist.CustomizationFormText", ResourcesHelper.GetString("ActorsCrew"));
            SetPropertyPathValue(element, "lcgArtist.Text", ResourcesHelper.GetString("ActorsCrew"));
            SetPropertyPathValue(element, "lcgRentalInfo.CustomizationFormText", ResourcesHelper.GetString("RentalSalesInfo"));
            SetPropertyPathValue(element, "lcgRentalInfo.Text", ResourcesHelper.GetString("RentalSalesInfo"));
            SetPropertyPathValue(element, "lciFirstName.CustomizationFormText", ResourcesHelper.GetString("FirstName"));
            SetPropertyPathValue(element, "lciFirstName.Text", ResourcesHelper.GetString("FirstName") + ":");
            SetPropertyPathValue(element, "lciLastName.CustomizationFormText", ResourcesHelper.GetString("LastName"));
            SetPropertyPathValue(element, "lciLastName.Text", ResourcesHelper.GetString("LastName") + ":");
            SetPropertyPathValue(element, "lciNickName.CustomizationFormText", ResourcesHelper.GetString("NickName"));
            SetPropertyPathValue(element, "lciNickName.Text", ResourcesHelper.GetString("NickName") + ":");
            SetPropertyPathValue(element, "lciBirthLocation.CustomizationFormText", ResourcesHelper.GetString("BirthLocation"));
            SetPropertyPathValue(element, "lciBirthLocation.Text", ResourcesHelper.GetString("BirthLocation") + ":");
            SetPropertyPathValue(element, "lciBirthName.CustomizationFormText", ResourcesHelper.GetString("BirthName"));
            SetPropertyPathValue(element, "lciBirthName.Text", ResourcesHelper.GetString("BirthName") + ":");
            SetPropertyPathValue(element, "lciLink.CustomizationFormText", ResourcesHelper.GetString("Link"));
            SetPropertyPathValue(element, "lciLink.Text", ResourcesHelper.GetString("Link") + ":");
            SetPropertyPathValue(element, "lciGender.CustomizationFormText", ResourcesHelper.GetString("Gender"));
            SetPropertyPathValue(element, "lciGender.Text", ResourcesHelper.GetString("Gender") + ":");
            SetPropertyPathValue(element, "lciBirthDate.CustomizationFormText", ResourcesHelper.GetString("BirthDate"));
            SetPropertyPathValue(element, "lciBirthDate.Text", ResourcesHelper.GetString("BirthDate") + ":");
            SetPropertyPathValue(element, "lciBirthCountry.CustomizationFormText", ResourcesHelper.GetString("BirthCountry"));
            SetPropertyPathValue(element, "lciBirthCountry.Text", ResourcesHelper.GetString("BirthCountry") + ":");
            SetPropertyPathValue(element, "lccBiography.CustomizationFormText", ResourcesHelper.GetString("Biography"));
            SetPropertyPathValue(element, "lccBiography.Text", ResourcesHelper.GetString("Biography"));
            SetPropertyPathValue(element, "lcgMovies.CustomizationFormText", ResourcesHelper.GetString("Movies"));
            SetPropertyPathValue(element, "lcgMovies.Text", ResourcesHelper.GetString("Movies"));
            SetPropertyPathValue(element, "colMovie.Caption", ResourcesHelper.GetString("Movie"));
            SetPropertyPathValue(element, "colDescription.Caption", ResourcesHelper.GetString("Description"));
            SetPropertyPathValue(element, "colLine.Caption", ResourcesHelper.GetString("Line"));
        }
        public static void LoadConstStringsForCompanyDetail(object element)
        {
            SetPropertyPathValue(element, "colMovie.Caption", ResourcesHelper.GetString("Movie"));
            SetPropertyPathValue(element, "colDescription.Caption", ResourcesHelper.GetString("Description"));
            SetPropertyPathValue(element, "lciName.CustomizationFormText", ResourcesHelper.GetString("Name"));
            SetPropertyPathValue(element, "lciName.Text", ResourcesHelper.GetString("Name") + ":");
            SetPropertyPathValue(element, "lciType.CustomizationFormText", ResourcesHelper.GetString("Type"));
            SetPropertyPathValue(element, "lciType.Text", ResourcesHelper.GetString("Type") + ":");
            SetPropertyPathValue(element, "lciWebSite.CustomizationFormText", ResourcesHelper.GetString("WebSite"));
            SetPropertyPathValue(element, "lciWebSite.Text", ResourcesHelper.GetString("WebSite") + ":");
            SetPropertyPathValue(element, "lciCountry.CustomizationFormText", ResourcesHelper.GetString("Country"));
            SetPropertyPathValue(element, "lciCountry.Text", ResourcesHelper.GetString("Country") + ":");
            SetPropertyPathValue(element, "lciMoviesGridBar.CustomizationFormText", ResourcesHelper.GetString("LinkedMovies"));
            SetPropertyPathValue(element, "lciMoviesGridBar.Text", ResourcesHelper.GetString("LinkedMovies") + ":");
        }
        public static void LoadConstStringsForCustomerDetail(object element)
        {
            SetPropertyPathValue(element, "lciFirstName.CustomizationFormText", ResourcesHelper.GetString("FirstName"));
            SetPropertyPathValue(element, "lciFirstName.Text", ResourcesHelper.GetString("FirstName") + ":");
            SetPropertyPathValue(element, "lciMiddleName.CustomizationFormText", ResourcesHelper.GetString("MiddleName"));
            SetPropertyPathValue(element, "lciMiddleName.Text", ResourcesHelper.GetString("MiddleName") + ":");
            SetPropertyPathValue(element, "lciLastName.CustomizationFormText", ResourcesHelper.GetString("LastName"));
            SetPropertyPathValue(element, "lciLastName.Text", ResourcesHelper.GetString("LastName") + ":");
            SetPropertyPathValue(element, "lciGender.CustomizationFormText", ResourcesHelper.GetString("Gender"));
            SetPropertyPathValue(element, "lciGender.Text", ResourcesHelper.GetString("Gender") + ":");
            SetPropertyPathValue(element, "lciBirthDate.CustomizationFormText", ResourcesHelper.GetString("BirthDate"));
            SetPropertyPathValue(element, "lciBirthDate.Text", ResourcesHelper.GetString("BirthDate") + ":");
            SetPropertyPathValue(element, "lciAddress.CustomizationFormText", ResourcesHelper.GetString("Address"));
            SetPropertyPathValue(element, "lciAddress.Text", ResourcesHelper.GetString("Address") + ":");
            SetPropertyPathValue(element, "lciEmail.CustomizationFormText", ResourcesHelper.GetString("Email"));
            SetPropertyPathValue(element, "lciEmail.Text", ResourcesHelper.GetString("Email") + ":");
            SetPropertyPathValue(element, "lcgAddress.CustomizationFormText", ResourcesHelper.GetString("Address"));
            SetPropertyPathValue(element, "lcgAddress.Text", ResourcesHelper.GetString("Address"));
            SetPropertyPathValue(element, "lciPhone.CustomizationFormText", ResourcesHelper.GetString("Phone"));
            SetPropertyPathValue(element, "lciPhone.Text", ResourcesHelper.GetString("Phone") + ":");
            SetPropertyPathValue(element, "lcgDiscount.CustomizationFormText", ResourcesHelper.GetString("Discount"));
            SetPropertyPathValue(element, "lcgDiscount.Text", ResourcesHelper.GetString("Discount"));
            SetPropertyPathValue(element, "lciLevel.CustomizationFormText", ResourcesHelper.GetString("Level"));
            SetPropertyPathValue(element, "lciLevel.Text", ResourcesHelper.GetString("Level") + ":");
            SetPropertyPathValue(element, "lciDiscount.CustomizationFormText", ResourcesHelper.GetString("Discount"));
            SetPropertyPathValue(element, "lciDiscount.Text", ResourcesHelper.GetString("Discount") + ":");
            SetPropertyPathValue(element, "lciComments.CustomizationFormText", ResourcesHelper.GetString("Comments"));
            SetPropertyPathValue(element, "lciComments.Text", ResourcesHelper.GetString("Comments") + ":");
        }
        public static void LoadConstStringsForMovieDetail(object element)
        {
            SetPropertyPathValue(element, "ceIsColor.Properties.Caption", ResourcesHelper.GetString("Color"));
            SetPropertyPathValue(element, "lciTitle.CustomizationFormText", ResourcesHelper.GetString("Title"));
            SetPropertyPathValue(element, "lciTitle.Text", ResourcesHelper.GetString("Title") + ":");
            SetPropertyPathValue(element, "lcgGeneralInfo.CustomizationFormText", ResourcesHelper.GetString("GeneralInfo"));
            SetPropertyPathValue(element, "lcgGeneralInfo.Text", ResourcesHelper.GetString("GeneralInfo"));
            SetPropertyPathValue(element, "lciPlot.CustomizationFormText", ResourcesHelper.GetString("Plot"));
            SetPropertyPathValue(element, "lciPlot.Text", ResourcesHelper.GetString("Plot") + ":");
            SetPropertyPathValue(element, "lciAwards.CustomizationFormText", ResourcesHelper.GetString("Awards"));
            SetPropertyPathValue(element, "lciAwards.Text", ResourcesHelper.GetString("Awards") + ":");
            SetPropertyPathValue(element, "lciTagline.CustomizationFormText", ResourcesHelper.GetString("Tagline"));
            SetPropertyPathValue(element, "lciTagline.Text", ResourcesHelper.GetString("Tagline") + ":");
            SetPropertyPathValue(element, "lciGenre.CustomizationFormText", ResourcesHelper.GetString("Genre"));
            SetPropertyPathValue(element, "lciGenre.Text", ResourcesHelper.GetString("Genre") + ":");
            SetPropertyPathValue(element, "lciRealeaseDate.CustomizationFormText", ResourcesHelper.GetString("RealeaseDate"));
            SetPropertyPathValue(element, "lciRealeaseDate.Text", ResourcesHelper.GetString("RealeaseDate") + ":");
            SetPropertyPathValue(element, "lciRating.CustomizationFormText", ResourcesHelper.GetString("Rating"));
            SetPropertyPathValue(element, "lciRating.Text", ResourcesHelper.GetString("Rating") + ":");
            SetPropertyPathValue(element, "lcgAdditionalDetail.CustomizationFormText", ResourcesHelper.GetString("AdditionalDetails"));
            SetPropertyPathValue(element, "lcgAdditionalDetail.Text", ResourcesHelper.GetString("AdditionalDetails"));
            SetPropertyPathValue(element, "lciWebSite.CustomizationFormText", ResourcesHelper.GetString("WebSite"));
            SetPropertyPathValue(element, "lciWebSite.Text", ResourcesHelper.GetString("WebSite") + ":");
            SetPropertyPathValue(element, "lciAspectRatio.CustomizationFormText", ResourcesHelper.GetString("AspectRatio"));
            SetPropertyPathValue(element, "lciAspectRatio.Text", ResourcesHelper.GetString("AspectRatio") + ":");
            SetPropertyPathValue(element, "lciRunTime.CustomizationFormText", ResourcesHelper.GetString("RunTime"));
            SetPropertyPathValue(element, "lciRunTime.Text", ResourcesHelper.GetString("RunTime") + ":");
            SetPropertyPathValue(element, "lciCountries.CustomizationFormText", ResourcesHelper.GetString("Countries"));
            SetPropertyPathValue(element, "lciCountries.Text", ResourcesHelper.GetString("Countries") + ":");
            SetPropertyPathValue(element, "lciLanguage.CustomizationFormText", ResourcesHelper.GetString("Language"));
            SetPropertyPathValue(element, "lciLanguage.Text", ResourcesHelper.GetString("Language") + ":");
            SetPropertyPathValue(element, "lcgCompanies.CustomizationFormText", ResourcesHelper.GetString("Companies"));
            SetPropertyPathValue(element, "lcgCompanies.Text", ResourcesHelper.GetString("Companies"));
            SetPropertyPathValue(element, "colCompany.Caption", ResourcesHelper.GetString("Company"));
            SetPropertyPathValue(element, "colCompanyDescription.Caption", ResourcesHelper.GetString("Description"));
            SetPropertyPathValue(element, "lcgArtist.CustomizationFormText", ResourcesHelper.GetString("ActorsCrew"));
            SetPropertyPathValue(element, "lcgArtist.Text", ResourcesHelper.GetString("ActorsCrew"));
            SetPropertyPathValue(element, "lciDirector.CustomizationFormText", ResourcesHelper.GetString("Directors"));
            SetPropertyPathValue(element, "lciDirector.Text", ResourcesHelper.GetString("Directors") + ":");
            SetPropertyPathValue(element, "lcgArtists.CustomizationFormText", ResourcesHelper.GetString("ActorsCrew"));
            SetPropertyPathValue(element, "lcgArtists.Text", ResourcesHelper.GetString("ActorsCrew"));
            SetPropertyPathValue(element, "colArtist.Caption", ResourcesHelper.GetString("Name"));
            SetPropertyPathValue(element, "colDescription.FieldName", ResourcesHelper.GetString("Description"));
            SetPropertyPathValue(element, "colLine.Caption", ResourcesHelper.GetString("Line"));
            SetPropertyPathValue(element, "lcgRentalInfo.CustomizationFormText", ResourcesHelper.GetString("RentalSalesInfo"));
            SetPropertyPathValue(element, "lcgRentalInfo.Text", ResourcesHelper.GetString("RentalSalesInfo"));
            SetPropertyPathValue(element, "lciCategory.CustomizationFormText", ResourcesHelper.GetString("RentalCategory"));
            SetPropertyPathValue(element, "lciCategory.Text", ResourcesHelper.GetString("RentalCategory") + ":");
        }
        public static void LoadConstStringsForFrmMovieAddCompany(object element)
        {
            SetPropertyPathValue(element, "lciCompany.CustomizationFormText", ResourcesHelper.GetString("Company"));
            SetPropertyPathValue(element, "lciCompany.Text", ResourcesHelper.GetString("Company") + ":");
            SetPropertyPathValue(element, "lciDescription.CustomizationFormText", ResourcesHelper.GetString("Description"));
            SetPropertyPathValue(element, "lciDescription.Text", ResourcesHelper.GetString("Description") + ":");
        }
        public static void LoadConstStringsForFrmMovieAddItems(object element)
        {
            SetPropertyPathValue(element, "lciFormat.CustomizationFormText", ResourcesHelper.GetString("Format"));
            SetPropertyPathValue(element, "lciFormat.Text", ResourcesHelper.GetString("Format") + ":");
            SetPropertyPathValue(element, "lciCount.CustomizationFormText", ResourcesHelper.GetString("Count"));
            SetPropertyPathValue(element, "lciCount.Text", ResourcesHelper.GetString("Count") + ":");
            SetPropertyPathValue(element, "lciSellPrice.CustomizationFormText", ResourcesHelper.GetString("Price"));
            SetPropertyPathValue(element, "lciSellPrice.Text", ResourcesHelper.GetString("Price") + ":");
            SetPropertyPathValue(element, "ceAvailableForSell.Properties.Caption", ResourcesHelper.GetString("AvailableForSaleHtml"));
            SetPropertyPathValue(element, "Text", ResourcesHelper.GetString("AddToMovieInventory"));
        }
        public static void LoadConstStringsForFrmMovieCategoriesList(object element)
        {
            SetPropertyPathValue(element, "colName.Caption", ResourcesHelper.GetString("Name"));
            SetPropertyPathValue(element, "colIsDefault.Caption", ResourcesHelper.GetString("Default"));
            SetPropertyPathValue(element, "sbSave.Text", ResourcesHelper.GetString("ButtonTextSaveAndClose"));
            SetPropertyPathValue(element, "sbCancel.Text", ResourcesHelper.GetString("ButtonTextClose"));
            SetPropertyPathValue(element, "barEditCategories.Text", ResourcesHelper.GetString("EditCategories"));
            SetPropertyPathValue(element, "bbiAdd.Caption", ResourcesHelper.GetString("Add"));
            SetPropertyPathValue(element, "bbiAdd.Hint", ResourcesHelper.GetString("AddNewCategory"));
            SetPropertyPathValue(element, "bbiDelete.Caption", ResourcesHelper.GetString("Delete"));
            SetPropertyPathValue(element, "bbiDelete.Hint", ResourcesHelper.GetString("DeleteCurrentCategory"));
            SetPropertyPathValue(element, "Text", ResourcesHelper.GetString("MovieCategories"));
        }
        public static void LoadConstStringsForFrmMovieItems(object element)
        {
            SetPropertyPathValue(element, "colStatus.Caption", ResourcesHelper.GetString("Status"));
            SetPropertyPathValue(element, "colFormat.Caption", ResourcesHelper.GetString("Format"));
            SetPropertyPathValue(element, "colSellingPrice.Caption", ResourcesHelper.GetString("SellingPrice"));
            SetPropertyPathValue(element, "colAvailableForSell.Caption", ResourcesHelper.GetString("AvailableForSell"));
            SetPropertyPathValue(element, "colLocation.Caption", ResourcesHelper.GetString("Location"));
            SetPropertyPathValue(element, "bbiAdd.Caption", ResourcesHelper.GetString("AddItems"));
            SetPropertyPathValue(element, "bbiAdd.Hint", ResourcesHelper.GetString("AddMovieItems"));
            SetPropertyPathValue(element, "bbiDelete.Caption", ResourcesHelper.GetString("Delete"));
            SetPropertyPathValue(element, "bbiDelete.Hint", ResourcesHelper.GetString("DeleteSelectedItems"));
            SetPropertyPathValue(element, "sbClose.Text", ResourcesHelper.GetString("ButtonTextClose"));
            SetPropertyPathValue(element, "Text", ResourcesHelper.GetString("MovieItems"));
        }
        public static void LoadConstStringsForFrmNewMovieCategory(object element)
        {
            SetPropertyPathValue(element, "sbOk.Text", ResourcesHelper.GetString("ButtonTextSaveAndClose"));
            SetPropertyPathValue(element, "sbCancel.Text", ResourcesHelper.GetString("ButtonTextClose"));
            SetPropertyPathValue(element, "Text", ResourcesHelper.GetString("NewMovieCategory"));
        }
        public static void LoadConstStringsForFrmOpenImageDialog(object element)
        {
            SetPropertyPathValue(element, "colName.Caption", ResourcesHelper.GetString("Name"));
            SetPropertyPathValue(element, "colPath.Caption", ResourcesHelper.GetString("Path"));
            SetPropertyPathValue(element, "sbOk.Text", ResourcesHelper.GetString("OK"));
            SetPropertyPathValue(element, "sbCancel.Text", ResourcesHelper.GetString("Cancel"));
            SetPropertyPathValue(element, "Text", ResourcesHelper.GetString("OpenImage"));
        }
        public static void LoadConstStringsForFrmPeriod(object element)
        {
            SetPropertyPathValue(element, "sbCancel.Text", ResourcesHelper.GetString("ButtonTextCancel"));
            SetPropertyPathValue(element, "sbOK.Text", ResourcesHelper.GetString("ButtonTextOK"));
            SetPropertyPathValue(element, "lcgKPI.CustomizationFormText", ResourcesHelper.GetString("KPIPeriod"));
            SetPropertyPathValue(element, "lcgKPI.Text", ResourcesHelper.GetString("KPIPeriod"));
            SetPropertyPathValue(element, "lcgReceipt.CustomizationFormText", ResourcesHelper.GetString("ReceiptPeriod"));
            SetPropertyPathValue(element, "lcgReceipt.Text", ResourcesHelper.GetString("ReceiptPeriod"));
            SetPropertyPathValue(element, "Text", ResourcesHelper.GetString("SpecifyDateIntervals") + " ");
        }
        public static void LoadConstStringsForFrmProgress(object element)
        {
            SetPropertyPathValue(element, "labelControl1.Text", ResourcesHelper.GetString("ChangingLookAndFeelHtml") + ":");
        }
        public static void LoadConstStringsForFrmReceiptGridOptions(object element)
        {
            SetPropertyPathValue(element, "ceGroupRowFooter.Properties.Caption", ResourcesHelper.GetString("ShowGroupRowFooter"));
            SetPropertyPathValue(element, "ceIndicator.Properties.Caption", ResourcesHelper.GetString("ShowIndicator"));
            SetPropertyPathValue(element, "ceDetailTabs.Properties.Caption", ResourcesHelper.GetString("ShowDetailTabs"));
            SetPropertyPathValue(element, "ceVertLines.Properties.Caption", ResourcesHelper.GetString("ShowVerticalLines"));
            SetPropertyPathValue(element, "ceAutoFilterRow.Properties.Caption", ResourcesHelper.GetString("ShowTheAutoFilterRow"));
            SetPropertyPathValue(element, "ceViewCaption.Properties.Caption", ResourcesHelper.GetString("ShowViewCaption"));
        }
        public static void LoadConstStringsForUCScreens(object element)
        {
            SetPropertyPathValue(element, "brMain.Text", ResourcesHelper.GetString("MainMenu"));
            SetPropertyPathValue(element, "bbiAdd.Caption", ResourcesHelper.GetString("Add"));
            SetPropertyPathValue(element, "bbiAdd.Hint", ResourcesHelper.GetString("AddNewImage"));
            SetPropertyPathValue(element, "bbiDelete.Caption", ResourcesHelper.GetString("Delete"));
            SetPropertyPathValue(element, "bbiDelete.Hint", ResourcesHelper.GetString("DeleteCurrentImage"));
        }
        public static void LoadConstStringsForFrmAbout(object element)
        {
        }
        public static void LoadConstStringsForFrmArtistAddMovie(object element)
        {
            SetPropertyPathValue(element, "lciArtist.CustomizationFormText", ResourcesHelper.GetString("Movie"));
            SetPropertyPathValue(element, "lciArtist.Text", ResourcesHelper.GetString("Movie") + ":");
            SetPropertyPathValue(element, "lciLine.Text", ResourcesHelper.GetString("Credits") + ":");
            SetPropertyPathValue(element, "lciDescription.CustomizationFormText", ResourcesHelper.GetString("Description"));
            SetPropertyPathValue(element, "lciDescription.Text", ResourcesHelper.GetString("Description") + ":");
        }
        public static void LoadConstStringsForFrmArtistDetail(object element)
        {
        }
        public static void LoadConstStringsForFrmArtistGridOptions(object element)
        {
            SetPropertyPathValue(element, "cePreview.Properties.Caption", ResourcesHelper.GetString("ShowRowPreviews"));
            SetPropertyPathValue(element, "ceEditing.Properties.Caption", ResourcesHelper.GetString("AllowDataEditingViaListViews"));
            SetPropertyPathValue(element, "ceAutoZoomDetail.Properties.Caption", ResourcesHelper.GetString("AutoZoomDetails"));
            SetPropertyPathValue(element, "ceVertLines.Properties.Caption", ResourcesHelper.GetString("ShowVerticalLines"));
            SetPropertyPathValue(element, "ceAutoFilterRow.Properties.Caption", ResourcesHelper.GetString("ShowTheAutoFilterRow"));
            SetPropertyPathValue(element, "ceMasterDetail.Properties.Caption", ResourcesHelper.GetString("EnableMasterViewMode"));
        }
        public static void LoadConstStringsForFrmCompanyAddMovie(object element)
        {
            SetPropertyPathValue(element, "lciMovie.CustomizationFormText", ResourcesHelper.GetString("Movie"));
            SetPropertyPathValue(element, "lciMovie.Text", ResourcesHelper.GetString("Movie") + ":");
            SetPropertyPathValue(element, "lciDescription.CustomizationFormText", ResourcesHelper.GetString("Description"));
            SetPropertyPathValue(element, "lciDescription.Text", ResourcesHelper.GetString("Description") + ":");
        }
        public static void LoadConstStringsForFrmCreateInitialDB(object element)
        {
            SetPropertyPathValue(element, "sbCreate.Text", ResourcesHelper.GetString("Create"));
            SetPropertyPathValue(element, "ceGenerateRentsHistory.Properties.Caption", ResourcesHelper.GetString("GenerateRentsHistory"));
            SetPropertyPathValue(element, "lciRentsHistory.CustomizationFormText", ResourcesHelper.GetString("GeneratingData"));
            SetPropertyPathValue(element, "lciRentsHistory.Text", ResourcesHelper.GetString("GeneratingData") + ":");
            SetPropertyPathValue(element, "lciType.CustomizationFormText", ResourcesHelper.GetString("DatabaseType"));
            SetPropertyPathValue(element, "lciType.Text", ResourcesHelper.GetString("DatabaseType") + ":");
            SetPropertyPathValue(element, "lciCreatingDB.CustomizationFormText", ResourcesHelper.GetString("CreatingDatabase"));
            SetPropertyPathValue(element, "lciCreatingDB.Text", ResourcesHelper.GetString("CreatingDatabase") + ":");
            SetPropertyPathValue(element, "lciDatabase.CustomizationFormText", ResourcesHelper.GetString("Database"));
            SetPropertyPathValue(element, "lciDatabase.Text", ResourcesHelper.GetString("Database") + ":");
            SetPropertyPathValue(element, "lciServer.CustomizationFormText", ResourcesHelper.GetString("SQLServer"));
            SetPropertyPathValue(element, "lciServer.Text", ResourcesHelper.GetString("SQLServer") + ":");
            SetPropertyPathValue(element, "lciDatabaseSQL.CustomizationFormText", ResourcesHelper.GetString("Database"));
            SetPropertyPathValue(element, "lciDatabaseSQL.Text", ResourcesHelper.GetString("Database") + ":");
            SetPropertyPathValue(element, "lciLogin.CustomizationFormText", ResourcesHelper.GetString("Login"));
            SetPropertyPathValue(element, "lciLogin.Text", ResourcesHelper.GetString("Login") + ":");
            SetPropertyPathValue(element, "lciPassword.CustomizationFormText", ResourcesHelper.GetString("Password"));
            SetPropertyPathValue(element, "lciPassword.Text", ResourcesHelper.GetString("Password") + ":");
            SetPropertyPathValue(element, "Text", ResourcesHelper.GetString("CreateDatabase"));
        }
        public static void LoadConstStringsForFrmEditAppointment(object element)
        {
            SetPropertyPathValue(element, "btnClose.Text", ResourcesHelper.GetString("ButtonTextClose"));
            SetPropertyPathValue(element, "chkActiveRental.Properties.AccessibleName", ResourcesHelper.GetString("AllDayEvent"));
            SetPropertyPathValue(element, "chkActiveRental.Properties.Caption", ResourcesHelper.GetString("ActiveRental"));
            SetPropertyPathValue(element, "edtResource.Properties.AccessibleName", ResourcesHelper.GetString("Owner") + ":");
            SetPropertyPathValue(element, "chkRentOverdue.Properties.AccessibleName", ResourcesHelper.GetString("AllDayEvent"));
            SetPropertyPathValue(element, "chkRentOverdue.Properties.Caption", ResourcesHelper.GetString("RentOverdue"));
            SetPropertyPathValue(element, "lciMovieTitle.CustomizationFormText", ResourcesHelper.GetString("MovieTitle"));
            SetPropertyPathValue(element, "lciMovieTitle.Text", ResourcesHelper.GetString("MovieTitle") + ":");
            SetPropertyPathValue(element, "lciFormat.CustomizationFormText", ResourcesHelper.GetString("Format"));
            SetPropertyPathValue(element, "lciFormat.Text", ResourcesHelper.GetString("Format") + ":");
            SetPropertyPathValue(element, "lciDescription.CustomizationFormText", ResourcesHelper.GetString("Description"));
            SetPropertyPathValue(element, "lciDescription.Text", ResourcesHelper.GetString("Description") + ":");
            SetPropertyPathValue(element, "lciRentedOn.CustomizationFormText", ResourcesHelper.GetString("RentedOn"));
            SetPropertyPathValue(element, "lciRentedOn.Text", ResourcesHelper.GetString("RentedOn") + ":");
            SetPropertyPathValue(element, "lciReturnedOn.CustomizationFormText", ResourcesHelper.GetString("ReturnedOn"));
            SetPropertyPathValue(element, "lciReturnedOn.Text", ResourcesHelper.GetString("ReturnedOn") + ":");
            SetPropertyPathValue(element, "lciPayment.CustomizationFormText", ResourcesHelper.GetString("Payment"));
            SetPropertyPathValue(element, "lciPayment.Text", ResourcesHelper.GetString("Payment") + ":");
            SetPropertyPathValue(element, "lciOverduePayment.CustomizationFormText", ResourcesHelper.GetString("OverduePayment"));
            SetPropertyPathValue(element, "lciOverduePayment.Text", ResourcesHelper.GetString("OverduePayment") + ":");
            SetPropertyPathValue(element, "lciCustomer.CustomizationFormText", ResourcesHelper.GetString("Customer"));
            SetPropertyPathValue(element, "lciCustomer.Text", ResourcesHelper.GetString("Customer") + ":");
            SetPropertyPathValue(element, "lciLanguage.CustomizationFormText", ResourcesHelper.GetString("Language"));
            SetPropertyPathValue(element, "lciLanguage.Text", ResourcesHelper.GetString("Language") + ":");
            SetPropertyPathValue(element, "Text", ResourcesHelper.GetString("RentalDetailsReadOnly"));
        }
        public static void LoadConstStringsForFrmFindCustomer(object element)
        {
            SetPropertyPathValue(element, "sbClear.Text", ResourcesHelper.GetString("ClearCurrentCustomer"));
            SetPropertyPathValue(element, "sbOK.Text", ResourcesHelper.GetString("ButtonTextOK"));
            SetPropertyPathValue(element, "sbClose.Text", ResourcesHelper.GetString("ButtonTextClose"));
            SetPropertyPathValue(element, "colFirstName.Caption", ResourcesHelper.GetString("FirstName"));
            SetPropertyPathValue(element, "colLastName.Caption", ResourcesHelper.GetString("LastName"));
            SetPropertyPathValue(element, "colGender.Caption", ResourcesHelper.GetString("Gender"));
            SetPropertyPathValue(element, "colBirthDate.Caption", ResourcesHelper.GetString("BirthDate"));
            SetPropertyPathValue(element, "colFullName.Caption", ResourcesHelper.GetString("Name"));
            SetPropertyPathValue(element, "colCustomerId.Caption", ResourcesHelper.GetString("CardNumber"));
            SetPropertyPathValue(element, "colMiddleName.Caption", ResourcesHelper.GetString("MiddleName"));
            SetPropertyPathValue(element, "colEmail.Caption", ResourcesHelper.GetString("Email"));
            SetPropertyPathValue(element, "colAddress.Caption", ResourcesHelper.GetString("Address"));
            SetPropertyPathValue(element, "colPhone.Caption", ResourcesHelper.GetString("Phone"));
            SetPropertyPathValue(element, "colComments.Caption", ResourcesHelper.GetString("Comments"));
            SetPropertyPathValue(element, "Text", ResourcesHelper.GetString("FindCustomer"));
        }
        public static void LoadConstStringsForFrmLayoutOptions(object element)
        {
            SetPropertyPathValue(element, "ceAllowRestoreDockingLayout.Properties.Caption", ResourcesHelper.GetString("SaveAndRestoreDockWindowLayouts"));
            SetPropertyPathValue(element, "ceDefaultEditGridViewInDetailForms.Properties.Caption", ResourcesHelper.GetString("EnableDataEditingWithinTheGrid"));
            SetPropertyPathValue(element, "sbCancel.Text", ResourcesHelper.GetString("ButtonTextCancel"));
            SetPropertyPathValue(element, "sbOK.Text", ResourcesHelper.GetString("ButtonTextOK"));
            SetPropertyPathValue(element, "ceAllowRestoreGridViewLayout.Properties.Caption", ResourcesHelper.GetString("SaveAndRestoreGridControlLayouts"));
            SetPropertyPathValue(element, "ceAllowRestoreLayoutControlLayout.Properties.Caption", ResourcesHelper.GetString("SaveAndRestoreControlLayoutWithinForms"));
            SetPropertyPathValue(element, "ceAllowRestoreFormLayout.Properties.Caption", ResourcesHelper.GetString("SaveAndRestoreDetailViewLayouts"));
            SetPropertyPathValue(element, "sbClearLayouts.Text", ResourcesHelper.GetString("ClearLayouts"));
            SetPropertyPathValue(element, "Text", ResourcesHelper.GetString("LayoutOptions"));
        }
        public static void LoadConstStringsForFrmMovieAddArtist(object element)
        {
            SetPropertyPathValue(element, "lciArtist.CustomizationFormText", ResourcesHelper.GetString("ActorCrew"));
            SetPropertyPathValue(element, "lciArtist.Text", ResourcesHelper.GetString("ActorCrew") + ":");
            SetPropertyPathValue(element, "lciLine.CustomizationFormText", ResourcesHelper.GetString("Credits"));
            SetPropertyPathValue(element, "lciLine.Text", ResourcesHelper.GetString("Credits") + ":");
            SetPropertyPathValue(element, "lciDescription.CustomizationFormText", ResourcesHelper.GetString("Description"));
            SetPropertyPathValue(element, "lciDescription.Text", ResourcesHelper.GetString("Description") + ":");
        }
        public static void LoadConstStringsForFrmMain(object element)
        {
            SetPropertyPathValue(element, "bbiDelete.Caption", ResourcesHelper.GetString("Delete"));
            SetPropertyPathValue(element, "rcMain.ExpandCollapseItem.Hint", ResourcesHelper.GetString("HideDisplayRibbon"));
            SetPropertyPathValue(element, "rpMovies.Text", ResourcesHelper.GetString("Movies"));
            SetPropertyPathValue(element, "rpgMoviesManager.Text", ResourcesHelper.GetString("MovieRecordManagement"));
            SetPropertyPathValue(element, "bbiAdd.Caption", ResourcesHelper.GetString("Add"));
            SetPropertyPathValue(element, "bbiEdit.Caption", ResourcesHelper.GetString("Edit"));
            SetPropertyPathValue(element, "bbiRefresh.Caption", ResourcesHelper.GetString("Refresh"));
            SetPropertyPathValue(element, "bbiMovieCategories.Caption", ResourcesHelper.GetString("RentalCategory"));
            SetPropertyPathValue(element, "bsiViews.Caption", ResourcesHelper.GetString("DisplayStyle"));
            SetPropertyPathValue(element, "bsiViews.Hint", ResourcesHelper.GetString("ChangeGridStyle"));
            SetPropertyPathValue(element, "bbiMainView.Caption", ResourcesHelper.GetString("MainView"));
            SetPropertyPathValue(element, "bbiAlternateView.Caption", ResourcesHelper.GetString("AlternateView"));
            SetPropertyPathValue(element, "rpgMoviesNavigation.Text", ResourcesHelper.GetString("Navigation"));
            SetPropertyPathValue(element, "bbiPrev.Caption", ResourcesHelper.GetString("Up"));
            SetPropertyPathValue(element, "bbiNext.Caption", ResourcesHelper.GetString("Down"));
            SetPropertyPathValue(element, "rpgMoviesPrint.Text", ResourcesHelper.GetString("PrintAndExport"));
            SetPropertyPathValue(element, "bbiPrintPreview.Caption", ResourcesHelper.GetString("PrintPreview"));
            SetPropertyPathValue(element, "bbiExport.Caption", ResourcesHelper.GetString("Export"));
            SetPropertyPathValue(element, "bbiExportToPDF.Caption", ResourcesHelper.GetString("ExportToPDF"));
            SetPropertyPathValue(element, "bbiExportToXML.Caption", ResourcesHelper.GetString("ExportToXML"));
            SetPropertyPathValue(element, "bbiExportToHTML.Caption", ResourcesHelper.GetString("ExportToHTML"));
            SetPropertyPathValue(element, "bbiExportToMHT.Caption", ResourcesHelper.GetString("ExportToMHT"));
            SetPropertyPathValue(element, "bbiExportToXLS.Caption", ResourcesHelper.GetString("ExportToXLS"));
            SetPropertyPathValue(element, "bbiExportToXLSX.Caption", ResourcesHelper.GetString("ExportToXLSX"));
            SetPropertyPathValue(element, "bbiExportToRTF.Caption", ResourcesHelper.GetString("ExportToRTF"));
            SetPropertyPathValue(element, "bbiExportToImage.Caption", ResourcesHelper.GetString("ExportToImage"));
            SetPropertyPathValue(element, "bbiExportToText.Caption", ResourcesHelper.GetString("ExportToText"));
            SetPropertyPathValue(element, "rpgMovieDetail.Text", ResourcesHelper.GetString("Details"));
            SetPropertyPathValue(element, "bbiCloseDetails.Caption", ResourcesHelper.GetString("CloseDetailViews"));
            SetPropertyPathValue(element, "bbiCloseDetails.Hint", ResourcesHelper.GetString("CloseAllOpenDetailViews"));
            SetPropertyPathValue(element, "rpRent.Text", ResourcesHelper.GetString("Rent"));
            SetPropertyPathValue(element, "rpgRentManager.Text", ResourcesHelper.GetString("RentalRecordManagement"));
            SetPropertyPathValue(element, "bbiRent.Caption", ResourcesHelper.GetString("RentSell"));
            SetPropertyPathValue(element, "bbiRent.Hint", ResourcesHelper.GetString("RentOrSellMovie"));
            SetPropertyPathValue(element, "bbiReturn.Caption", ResourcesHelper.GetString("Return"));
            SetPropertyPathValue(element, "bbiReturn.Hint", ResourcesHelper.GetString("ReturnSelectedMoviesCheckedItemsFromTheActiveRen"));
            SetPropertyPathValue(element, "bbiActiveRent.Caption", ResourcesHelper.GetString("CheckActiveRentals"));
            SetPropertyPathValue(element, "bbiActiveRent.Hint", ResourcesHelper.GetString("CheckActiveRentalsForTheCurrentCustomer"));
            SetPropertyPathValue(element, "bbiChangeCustomer.Caption", ResourcesHelper.GetString("ChangeCustomer"));
            SetPropertyPathValue(element, "bbiChangeCustomer.Hint", ResourcesHelper.GetString("ChangeCurrentCustomer"));
            SetPropertyPathValue(element, "bbiReceiptPeriod.Caption", ResourcesHelper.GetString("ReceiptPeriod"));
            SetPropertyPathValue(element, "rpgRentOptions.Text", ResourcesHelper.GetString("Options"));
            SetPropertyPathValue(element, "bbiOptions.Caption", ResourcesHelper.GetString("ViewOptions"));
            SetPropertyPathValue(element, "rpgRentLayout.Text", ResourcesHelper.GetString("Layout"));
            SetPropertyPathValue(element, "bbiLayoutFlip.Caption", ResourcesHelper.GetString("FlipLayout"));
            SetPropertyPathValue(element, "bbiLayoutFlip.Hint", ResourcesHelper.GetString("FlipDisplayLayout"));
            SetPropertyPathValue(element, "rpgRentPrint.Text", ResourcesHelper.GetString("PrintAndExport"));
            SetPropertyPathValue(element, "rpgRentDetail.Text", ResourcesHelper.GetString("Details"));
            SetPropertyPathValue(element, "rpActors.Text", ResourcesHelper.GetString("Actors"));
            SetPropertyPathValue(element, "rpgActorsManager.Text", ResourcesHelper.GetString("ActorsCrewRecordManagement"));
            SetPropertyPathValue(element, "rpgActorsNavigation.Text", ResourcesHelper.GetString("Navigation"));
            SetPropertyPathValue(element, "rpgActorsPrint.Text", ResourcesHelper.GetString("PrintAndExport"));
            SetPropertyPathValue(element, "rpgActorsDetail.Text", ResourcesHelper.GetString("Details"));
            SetPropertyPathValue(element, "rpCustomers.Text", ResourcesHelper.GetString("Customers"));
            SetPropertyPathValue(element, "rpgCustomersManager.Text", ResourcesHelper.GetString("CustomerRecordManagement"));
            SetPropertyPathValue(element, "bbiCurrentCustomer.Caption", ResourcesHelper.GetString("SetAsCurrentCustomer"));
            SetPropertyPathValue(element, "bbiCurrentCustomer.Hint", ResourcesHelper.GetString("SetAsCurrentCustomer"));
            SetPropertyPathValue(element, "rpgCustomersNavigation.Text", ResourcesHelper.GetString("Navigation"));
            SetPropertyPathValue(element, "rpgCustomersPrint.Text", ResourcesHelper.GetString("PrintAndExport"));
            SetPropertyPathValue(element, "rpgCostomerDetail.Text", ResourcesHelper.GetString("Details"));
            SetPropertyPathValue(element, "rpView.Text", ResourcesHelper.GetString("View"));
            SetPropertyPathValue(element, "rpbNavigation.Text", ResourcesHelper.GetString("Navigation"));
            SetPropertyPathValue(element, "bsiModules.Caption", ResourcesHelper.GetString("Modules"));
            SetPropertyPathValue(element, "rpgAppearance.Text", ResourcesHelper.GetString("Appearance"));
            SetPropertyPathValue(element, "rgbiSkins.Caption", ResourcesHelper.GetString("Skins"));
            SetPropertyPathValue(element, "rpgViewOptions.Text", ResourcesHelper.GetString("Options"));
            SetPropertyPathValue(element, "bbiLayoutOptions.Caption", ResourcesHelper.GetString("LayoutOptions"));
            SetPropertyPathValue(element, "bbiPeriod.Caption", ResourcesHelper.GetString("TimePeriods"));
            SetPropertyPathValue(element, "bbiPeriod.Hint", ResourcesHelper.GetString("KPIReceiptsPeriods"));
            SetPropertyPathValue(element, "bciFormSkin.Caption", ResourcesHelper.GetString("AllowFormSkins"));
            SetPropertyPathValue(element, "bbiSave.Caption", ResourcesHelper.GetString("Save"));
            SetPropertyPathValue(element, "bbiSaveCurrentRecord.Caption", ResourcesHelper.GetString("SaveCurrentRecord"));
            SetPropertyPathValue(element, "bbiSave.Hint", ResourcesHelper.GetString("SaveChangesToCurrentRecord"));
            SetPropertyPathValue(element, "bbiSaveCurrentRecord.Hint", ResourcesHelper.GetString("SaveChangesToCurrentRecord"));
            SetPropertyPathValue(element, "bbiSaveAndClose.Caption", ResourcesHelper.GetString("SaveAndClose"));
            SetPropertyPathValue(element, "bbiSaveAndClose.Hint", ResourcesHelper.GetString("SaveChangesToCurrentRecordAndCloseTheDetailView"));
            SetPropertyPathValue(element, "bbiClose.Caption", ResourcesHelper.GetString("Close"));
            SetPropertyPathValue(element, "bbiClose.Hint", ResourcesHelper.GetString("CloseDetailView"));
            SetPropertyPathValue(element, "rpMovie.Text", ResourcesHelper.GetString("Movie"));
            SetPropertyPathValue(element, "rpgHomeMovie.Text", ResourcesHelper.GetString("Home"));
            SetPropertyPathValue(element, "bbiHome.Caption", ResourcesHelper.GetString("Home"));
            SetPropertyPathValue(element, "rpgMoviePicture.Text", ResourcesHelper.GetString("MovieImage"));
            SetPropertyPathValue(element, "bbiLoadPicture.Caption", ResourcesHelper.GetString("LoadImage"));
            SetPropertyPathValue(element, "bbiLoadPicture.Hint", ResourcesHelper.GetString("LoadImage"));
            SetPropertyPathValue(element, "bbiClearPicture.Caption", ResourcesHelper.GetString("ClearImage"));
            SetPropertyPathValue(element, "bbiClearPicture.Hint", ResourcesHelper.GetString("ClearImage"));
            SetPropertyPathValue(element, "rpgMovieManager.Text", ResourcesHelper.GetString("MovieItemsManager"));
            SetPropertyPathValue(element, "bbiAddItems.Caption", ResourcesHelper.GetString("AddToInventory"));
            SetPropertyPathValue(element, "bbiManageItems.Caption", ResourcesHelper.GetString("ManageInventory"));
            SetPropertyPathValue(element, "rpgMovieMain.Text", ResourcesHelper.GetString("Main"));
            SetPropertyPathValue(element, "rpcDetail.Text", ResourcesHelper.GetString("Details"));
            SetPropertyPathValue(element, "rpArtist.Text", ResourcesHelper.GetString("Actor"));
            SetPropertyPathValue(element, "rpgHomeActor.Text", ResourcesHelper.GetString("Home"));
            SetPropertyPathValue(element, "rpgArtistPhoto.Text", ResourcesHelper.GetString("ActorPhotos"));
            SetPropertyPathValue(element, "bbiAddPicture.Caption", ResourcesHelper.GetString("AddImage"));
            SetPropertyPathValue(element, "bbiAddPicture.Hint", ResourcesHelper.GetString("AddANewImage"));
            SetPropertyPathValue(element, "bbiDeletePicture.Caption", ResourcesHelper.GetString("DeleteImage"));
            SetPropertyPathValue(element, "bbiDeletePicture.Hint", ResourcesHelper.GetString("DeleteTheCurrentImage"));
            SetPropertyPathValue(element, "rpgArtistMain.Text", ResourcesHelper.GetString("Main"));
            SetPropertyPathValue(element, "rpCustomer.Text", ResourcesHelper.GetString("Customer"));
            SetPropertyPathValue(element, "rpgHomeCustomer.Text", ResourcesHelper.GetString("Home"));
            SetPropertyPathValue(element, "rpgCustomerPhoto.Text", ResourcesHelper.GetString("CustomerPhoto"));
            SetPropertyPathValue(element, "rpgCustomerMain.Text", ResourcesHelper.GetString("Main"));
            SetPropertyPathValue(element, "rpCompany.Text", ResourcesHelper.GetString("Company"));
            SetPropertyPathValue(element, "rpgCompanyMain.Text", ResourcesHelper.GetString("Main"));
            SetPropertyPathValue(element, "rpCompanies.Text", ResourcesHelper.GetString("Companies"));
            SetPropertyPathValue(element, "rpgCompaniesManager.Text", ResourcesHelper.GetString("CompanyRecordManagement"));
            SetPropertyPathValue(element, "rpgCompaniesNavigation.Text", ResourcesHelper.GetString("Navigation"));
            SetPropertyPathValue(element, "rpgCompaniesPrint.Text", ResourcesHelper.GetString("PrintAndExport"));
            SetPropertyPathValue(element, "rpgCompaniesDetail.Text", ResourcesHelper.GetString("Details"));
            SetPropertyPathValue(element, "rpCustomerRevenueStatistics.Text", ResourcesHelper.GetString("CustomerStatistics"));
            SetPropertyPathValue(element, "rpgCustomerStatisticLayout.Text", ResourcesHelper.GetString("Layout"));
            SetPropertyPathValue(element, "rpgCustomerStatisticNavigation.Text", ResourcesHelper.GetString("Navigation"));
            SetPropertyPathValue(element, "rpgCustomerStatisticChartAppearance.Text", ResourcesHelper.GetString("ChartAppearance"));
            SetPropertyPathValue(element, "bbiChartPalette.Caption", ResourcesHelper.GetString("Palette"));
            SetPropertyPathValue(element, "rgbiChartAppearance.Caption", ResourcesHelper.GetString("Appearances"));
            SetPropertyPathValue(element, "rpgPrintCustomerStatistics.Text", ResourcesHelper.GetString("PrintAndExport"));
            SetPropertyPathValue(element, "rbpCustomerRevenueDetail.Text", ResourcesHelper.GetString("Details"));
            SetPropertyPathValue(element, "rpMediaPerformanceStatistics.Text", ResourcesHelper.GetString("MediaStatistics"));
            SetPropertyPathValue(element, "rpgMediaPerformanceStatisticsLayout.Text", ResourcesHelper.GetString("Layout"));
            SetPropertyPathValue(element, "bbiLayoutRotate.Caption", ResourcesHelper.GetString("RotateLayout"));
            SetPropertyPathValue(element, "bbiLayoutRotate.Hint", ResourcesHelper.GetString("RotateDisplayLayout"));
            SetPropertyPathValue(element, "rpgMediaStatisticChartAppearance.Text", ResourcesHelper.GetString("ChartAppearance"));
            SetPropertyPathValue(element, "rpgPrintMediaPerformanceStatistics.Text", ResourcesHelper.GetString("PrintAndExport"));
            SetPropertyPathValue(element, "rpgMediaPerformanceDetail.Text", ResourcesHelper.GetString("Details"));
            SetPropertyPathValue(element, "rpTopCustomers.Text", ResourcesHelper.GetString("TopCustomers"));
            SetPropertyPathValue(element, "rpgTopCustomersLayout.Text", ResourcesHelper.GetString("Layout"));
            SetPropertyPathValue(element, "rpgTopCustomersChartAppearance.Text", ResourcesHelper.GetString("ChartAppearance"));
            SetPropertyPathValue(element, "rpgPrintTopCustomers.Text", ResourcesHelper.GetString("PrintAndExport1"));
            SetPropertyPathValue(element, "rpIncomeStatistics.Text", ResourcesHelper.GetString("IncomeStatistics"));
            SetPropertyPathValue(element, "rpgIncomeStatisticsChartAppearance.Text", ResourcesHelper.GetString("ChartAppearance"));
            SetPropertyPathValue(element, "rpgPrintIncomeStatistics.Text", ResourcesHelper.GetString("PrintAndExport"));
            SetPropertyPathValue(element, "rpRevenueStatistics.Text", ResourcesHelper.GetString("RevenueStatistics"));
            SetPropertyPathValue(element, "rpgRevenueStatisticsChartAppearance.Text", ResourcesHelper.GetString("ChartAppearance"));
            SetPropertyPathValue(element, "rpgPrintRevenueStatistics.Text", ResourcesHelper.GetString("PrintAndExport"));
            SetPropertyPathValue(element, "rpScheduler.Text", ResourcesHelper.GetString("Scheduler"));
            SetPropertyPathValue(element, "rpMovieKPI.Text", ResourcesHelper.GetString("MovieKPI"));
            SetPropertyPathValue(element, "rpgMoviesKPILayout.Text", ResourcesHelper.GetString("Layout"));
            SetPropertyPathValue(element, "rpgMoviesKPIChartAppearance.Text", ResourcesHelper.GetString("ChartAppearance"));
            SetPropertyPathValue(element, "rpgPrintMoviewKPI.Text", ResourcesHelper.GetString("PrintAndExport"));
            SetPropertyPathValue(element, "rpCustomerDiscount.Text", ResourcesHelper.GetString("CustomerDiscount"));
            SetPropertyPathValue(element, "rpgCustomerDiscountLayout.Text", ResourcesHelper.GetString("Layout"));
            SetPropertyPathValue(element, "rpgCustomerDiscountChartAppearance.Text", ResourcesHelper.GetString("ChartAppearance"));
            SetPropertyPathValue(element, "rpgCustomerDiscountPrint.Text", ResourcesHelper.GetString("PrintAndExport"));
            SetPropertyPathValue(element, "rpDiscountKPI.Text", ResourcesHelper.GetString("DiscountKPI"));
            SetPropertyPathValue(element, "rpgDiscountLayout.Text", ResourcesHelper.GetString("Layout"));
            SetPropertyPathValue(element, "rpgDiscountChartAppearance.Text", ResourcesHelper.GetString("ChartAppearance"));
            SetPropertyPathValue(element, "rpgDiscountPrint.Text", ResourcesHelper.GetString("PrintAndExport"));
            SetPropertyPathValue(element, "sbExit.Text", ResourcesHelper.GetString("ExitApplication"));
            SetPropertyPathValue(element, "bbiSkins.Caption", ResourcesHelper.GetString("ChooseSkin"));
            SetPropertyPathValue(element, "rpgCategoriesRecordManagement.Text", ResourcesHelper.GetString("RecordManagement"));
            SetPropertyPathValue(element, "rpgCategoriesNavigation.Text", ResourcesHelper.GetString("LayoutAndNavigation"));
            SetPropertyPathValue(element, "rpgCategoryChartAppearance.Text", ResourcesHelper.GetString("ChartAppearance"));
        }
        public static void LoadConstStringsForUCBarOneCheckedButton(object element)
        {
            SetPropertyPathValue(element, "mainBar.Text", ResourcesHelper.GetString("Tools"));
            SetPropertyPathValue(element, "bciSwitch.Caption", ResourcesHelper.GetString("Text"));
            SetPropertyPathValue(element, "biSwitch.Caption", ResourcesHelper.GetString("OnlyActive"));
        }
        public static void LoadConstStringsForUCBarTwoButtons(object element)
        {
        }
        public static void LoadConstStringsForUCControlAbout(object element)
        {
        }
        public static void LoadConstStringsForUCCustomerInfo(object element)
        {
        }
        public static void LoadConstStringsForUCGridEditBar(object element)
        {
            SetPropertyPathValue(element, "bciAllowEditing.Caption", ResourcesHelper.GetString("AllowEditing"));
            SetPropertyPathValue(element, "bciAllowEditing.Hint", ResourcesHelper.GetString("AllowEditing"));
            SetPropertyPathValue(element, "bbiAdd.Caption", ResourcesHelper.GetString("Add"));
            SetPropertyPathValue(element, "bbiAdd.Hint", ResourcesHelper.GetString("AddNewRecord"));
            SetPropertyPathValue(element, "bbiDelete.Caption", ResourcesHelper.GetString("Delete"));
            SetPropertyPathValue(element, "bbiDelete.Hint", ResourcesHelper.GetString("DeleteCurrentRecord"));
        }
        public static void LoadConstStringsForUCMovieCategoryDetail(object element)
        {
            SetPropertyPathValue(element, "lciName.CustomizationFormText", ResourcesHelper.GetString("Name"));
            SetPropertyPathValue(element, "lciName.Text", ResourcesHelper.GetString("Name") + ":");
            SetPropertyPathValue(element, "layoutControlGroup1.Text", ResourcesHelper.GetString("Format"));
        }
        public static void LoadConstStringsForUCMovieCategoryPriceDetail(object element)
        {
            SetPropertyPathValue(element, "lciDays1Price.CustomizationFormText", ResourcesHelper.GetString("PricePerDayFor1DayRental"));
            SetPropertyPathValue(element, "lciDays1Price.Text", ResourcesHelper.GetString("PricePerDayFor1DayRental") + ":");
            SetPropertyPathValue(element, "lciDays2Price.CustomizationFormText", ResourcesHelper.GetString("PricePerDayFor2DayRental"));
            SetPropertyPathValue(element, "lciDays2Price.Text", ResourcesHelper.GetString("PricePerDayFor2DayRental") + ":");
            SetPropertyPathValue(element, "lciDays3Price.CustomizationFormText", ResourcesHelper.GetString("PricePerDayFor3DayRental"));
            SetPropertyPathValue(element, "lciDays3Price.Text", ResourcesHelper.GetString("PricePerDayFor3DayRental") + ":");
            SetPropertyPathValue(element, "lciDays4Price.CustomizationFormText", ResourcesHelper.GetString("PricePerDayFor4DayRental"));
            SetPropertyPathValue(element, "lciDays4Price.Text", ResourcesHelper.GetString("PricePerDayFor4DayRental") + ":");
            SetPropertyPathValue(element, "lciDays5Price.CustomizationFormText", ResourcesHelper.GetString("PricePerDayFor5DayRental"));
            SetPropertyPathValue(element, "lciDays5Price.Text", ResourcesHelper.GetString("PricePerDayFor5DayRental") + ":");
            SetPropertyPathValue(element, "lciDays6Price.CustomizationFormText", ResourcesHelper.GetString("PricePerDayFor6DayRental"));
            SetPropertyPathValue(element, "lciDays6Price.Text", ResourcesHelper.GetString("PricePerDayFor6DayRental") + ":");
            SetPropertyPathValue(element, "lciDays7Price.CustomizationFormText", ResourcesHelper.GetString("PricePerDayFor7DayRental"));
            SetPropertyPathValue(element, "lciDays7Price.Text", ResourcesHelper.GetString("PricePerDayFor7DayRental") + ":");
            SetPropertyPathValue(element, "lciLatePrice.CustomizationFormText", ResourcesHelper.GetString("LatePricePerDay"));
            SetPropertyPathValue(element, "lciLatePrice.Text", ResourcesHelper.GetString("LatePricePerDay") + ":");
            SetPropertyPathValue(element, "lciDefaultDays.CustomizationFormText", ResourcesHelper.GetString("DefaultRentalDays"));
            SetPropertyPathValue(element, "lciDefaultDays.Text", ResourcesHelper.GetString("DefaultRentalDays") + ":");
        }
        public static void LoadConstStringsForUCMovieInfo(object element)
        {
        }
        public static void LoadConstStringsForUCMovieItemsInfo(object element)
        {
            SetPropertyPathValue(element, "tpFormat.Text", ResourcesHelper.GetString("Format"));
            SetPropertyPathValue(element, "lciLastRentedOn.CustomizationFormText", ResourcesHelper.GetString("LastRentedOn"));
            SetPropertyPathValue(element, "lciLastRentedOn.Text", ResourcesHelper.GetString("LastRentedOn") + ":");
        }
        public static void LoadConstStringsForUCPeriod(object element)
        {
            SetPropertyPathValue(element, "layoutControlItem1.CustomizationFormText", ResourcesHelper.GetString("Period"));
            SetPropertyPathValue(element, "layoutControlItem1.Text", ResourcesHelper.GetString("Period") + ":");
            SetPropertyPathValue(element, "layoutControlItem2.CustomizationFormText", ResourcesHelper.GetString("StartDate"));
            SetPropertyPathValue(element, "layoutControlItem2.Text", ResourcesHelper.GetString("StartDate") + ":");
            SetPropertyPathValue(element, "layoutControlItem3.CustomizationFormText", ResourcesHelper.GetString("EndDate"));
            SetPropertyPathValue(element, "layoutControlItem3.Text", ResourcesHelper.GetString("EndDate") + ":");
        }
        public static void LoadConstStringsForUCPictureCollection(object element)
        {
            SetPropertyPathValue(element, "bbiPrev.Caption", ResourcesHelper.GetString("Prev"));
            SetPropertyPathValue(element, "bbiPrev.Hint", ResourcesHelper.GetString("PreviousPhoto"));
            SetPropertyPathValue(element, "bbiNext.Caption", ResourcesHelper.GetString("Next"));
            SetPropertyPathValue(element, "bbiNext.Hint", ResourcesHelper.GetString("NextPhoto"));
            SetPropertyPathValue(element, "bbiAdd.Caption", ResourcesHelper.GetString("AddImage"));
            SetPropertyPathValue(element, "bbiAdd.Hint", ResourcesHelper.GetString("AddNewPhoto"));
            SetPropertyPathValue(element, "bbiDelete.Caption", ResourcesHelper.GetString("DeleteImage"));
            SetPropertyPathValue(element, "bbiDelete.Hint", ResourcesHelper.GetString("DeleteCurrentPhoto"));
        }
        public static void LoadConstStringsForUCPictureEditBar(object element)
        {
            SetPropertyPathValue(element, "mainBar.Text", ResourcesHelper.GetString("MainMenu"));
            SetPropertyPathValue(element, "bbiLoad.Caption", ResourcesHelper.GetString("LoadImage"));
            SetPropertyPathValue(element, "bbiClear.Caption", ResourcesHelper.GetString("ClearImage"));
        }
        public static void LoadConstStringsForUCRentalSalesInfo(object element)
        {
            SetPropertyPathValue(element, "lciDefaultDays.CustomizationFormText", ResourcesHelper.GetString("DefaultRentalDays"));
            SetPropertyPathValue(element, "lciDefaultDays.Text", ResourcesHelper.GetString("DefaultRentalDays") + ":");
            SetPropertyPathValue(element, "lciDefaultPrice.CustomizationFormText", ResourcesHelper.GetString("DefaultLateFee"));
            SetPropertyPathValue(element, "lciDefaultPrice.Text", ResourcesHelper.GetString("DefaultLateFee") + ":");
        }
        public static void LoadConstStringsForUCRents(object element)
        {
            SetPropertyPathValue(element, "ucGridSwitcherBar.ButtonCaption", ResourcesHelper.GetString("OnlyActive"));
            SetPropertyPathValue(element, "colRentId.Caption", ResourcesHelper.GetString("RentId"));
            SetPropertyPathValue(element, "colCustomer.Caption", ResourcesHelper.GetString("Customer"));
            SetPropertyPathValue(element, "colDays.Caption", ResourcesHelper.GetString("Days"));
            SetPropertyPathValue(element, "colRentedOn.Caption", ResourcesHelper.GetString("RentedOn"));
            SetPropertyPathValue(element, "colReturnedOn.Caption", ResourcesHelper.GetString("ReturnedOn"));
            SetPropertyPathValue(element, "colActive.Caption", ResourcesHelper.GetString("Active"));
            SetPropertyPathValue(element, "lcgRents.CustomizationFormText", ResourcesHelper.GetString("Rents"));
            SetPropertyPathValue(element, "lcgRents.Text", ResourcesHelper.GetString("Rents"));
        }
        internal static void SetPropertyPathValue(object obj, string path, object value) {
            string[] pathParts = path.Split('.');
            if(pathParts.Length == 0) return;
            object target = obj;
            for(int i = 0; i < pathParts.Length - 1; ++i) {
                if(target == null) break;
                target = GetMemberValue(target, pathParts[i]);
            }
            if(target != null)
                SetMemberValue(target, pathParts[pathParts.Length - 1], value);
        }
        const int fieldMaxDepth = 1;
        static object GetMemberValue(object obj, string memberName) {
            Type objectType = obj.GetType();
            PropertyInfo declaredPropertyInfo = objectType.GetProperty(memberName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.DeclaredOnly);
            if(declaredPropertyInfo != null)
                return declaredPropertyInfo.GetValue(obj, null);
            FieldInfo fieldInfo = objectType.GetField(memberName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public);
            if(fieldInfo != null)
                return fieldInfo.GetValue(obj);
            try {
                PropertyInfo propertyInfo = objectType.GetProperty(memberName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public);
                if(propertyInfo != null)
                    return propertyInfo.GetValue(obj, null);
            } catch(AmbiguousMatchException) { }
            for(int i = 0; i < fieldMaxDepth; ++i) {
                objectType = objectType.BaseType;
                if(objectType == typeof(object)) break;
                FieldInfo f = objectType.GetField(memberName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.DeclaredOnly);
                if(f != null)
                    return f.GetValue(obj);
            }
            return null;
        }
        static void SetMemberValue(object obj, string memberName, object value) {
            Type objectType = obj.GetType();
            PropertyInfo declaredPropertyInfo = objectType.GetProperty(memberName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.DeclaredOnly);
            if(declaredPropertyInfo != null) {
                declaredPropertyInfo.SetValue(obj, value, null);
                return;
            }
            FieldInfo fieldInfo = objectType.GetField(memberName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public);
            if(fieldInfo != null) {
                fieldInfo.SetValue(obj, value);
                return;
            }
            try {
                PropertyInfo propertyInfo = objectType.GetProperty(memberName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public);
                if(propertyInfo != null) {
                    propertyInfo.SetValue(obj, value, null);
                    return;
                }
            } catch(AmbiguousMatchException) { }
            for(int i = 0; i < fieldMaxDepth; ++i) {
                objectType = objectType.BaseType;
                if(objectType == typeof(object)) break;
                FieldInfo f = objectType.GetField(memberName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.DeclaredOnly);
                if(f != null) {
                    f.SetValue(obj, value);
                    return;
                }
            }
        }
    }
}
